package com.example.administrator.rxjavarxandroid_retrofit.http.rxjava;

import com.example.administrator.rxjavarxandroid_retrofit.http.exception.ApiError;

/**
 * Created by Administrator on 2016/12/14.
 */
public interface onRequestListener<T> {

    void onSuccess(T t);

    void onHttpError(ApiError error);
}
